package thread.util;

import java.util.concurrent.TimeUnit;

public class MixUtils {
    public static int IDMAX = 1000;

    /**
     * 睡眠
     *
     * @param ms 睡眠毫秒
     */
    public static void sleepMs(long ms) {
        try {
            TimeUnit.MILLISECONDS.sleep(ms);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
    }
}
